import request from "./http"; 

// 搜索列表
export function getSearch(){
    return request({
        url:"recipe/search/hot",
        method:"get",
      
    })
}
// 搜索建议
export function getsuggests(params){
    return request({
        url:"recipe/search/suggests",
        method:"get",
        params
    })
}
// 菜谱搜索
export function getkeyword(params){
    return request({
        url:"recipe/search",
        method:"get",
        params
    })
}
// 菜谱分类
export function getflatcatalogs(params){
    return request({
        url:"recipe/flatcatalogs",
        method:"get",
        params
    })
}